<script type="text/javascript">
    var sites = <?php echo Zend_Json_Encoder::encode($this->sitesList);?>;
    Ecart.pages = <?php echo Zend_Json::encode($this->pages) ?>;
</script>

<?php
//plugins

$this->headScript()->appendFile('/js/extjs-ux/multiselect/ComboSelect.js');
$this->headScript()->appendFile('/js/jquery/jquery.selectboxes.js');

//gui
$this->headScript()->appendFile('/js/ecart/admin/poll/poll.js');
$this->headScript()->appendFile('/js/ecart/admin/poll/grid.js');
$this->headScript()->appendFile('/js/ecart/admin/poll/windowResult.js');
$this->headScript()->appendFile('/js/ecart/admin/poll/windowEdit.js');
?>